package com.cus.tom.transfer.bean;

import android.os.Environment;

import com.cus.tom.transfer.App;
import com.cus.tom.transfer.BuildConfig;

import java.io.File;

public class Const {
    public static int MAX_PICK_NUM = 300;

    public final static String CHANNEL_TRANSFER_STATE = "transfer_state";
    public final static String CHANNEL_TRANSFER_RESULT = "transfer_result";
    public static int TCP_PORT = 14645;
    public final static int IPTOS_THROUGHPUT = 0x08;
    public final static String SEND_START = "send_start";
    public final static String SEND_SPEED = "send_speed";
    public final static String SEND_OVER = "send_over";
    public final static String EXIT_RESULT = "exit_result";
    public final static String INSTALL_FINISH = "install_finish";
    public final static String SAVE_DIR = new File(Environment.getExternalStorageDirectory(), BuildConfig.DEBUG ? "aaa" : BuildConfig.APPLICATION_ID).getAbsolutePath();
    public final static String CONTRACT_PATH = new File(App.getApp().getCacheDir(), "contract.txt").getAbsolutePath();
    public final static String SMS_PATH = new File(App.getApp().getCacheDir(), "sms.txt").getAbsolutePath();
    public final static String CALL_PATH = new File(App.getApp().getCacheDir(), "call.txt").getAbsolutePath();
}
